﻿
/*
 * 文件描述：该文件由代码生成器自动生成，请勿更改
 * 创建时间：2013/4/28 0:06:08
*/
using System;

namespace VideoCache.Server.Model
{
		
		/// <summary>
		/// Map to Table t_agent
		/// </summary>
		public partial class AgentInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string NameField = "Name";

				public System.String Name { get; set; }
			
				public const string ContactPersonField = "ContactPerson";

				public System.String ContactPerson { get; set; }
			
				public const string ProvinceField = "Province";

				public System.String Province { get; set; }
			
				public const string CityField = "City";

				public System.String City { get; set; }
			
				public const string AddressField = "Address";

				public System.String Address { get; set; }
			
				public const string TelephoneField = "Telephone";

				public System.String Telephone { get; set; }
			
				public const string MobileField = "Mobile";

				public System.String Mobile { get; set; }
			
				public const string CompanyTypeField = "CompanyType";

				public System.Int32 CompanyType { get; set; }
			
				public const string StatusField = "Status";

				public System.Int32 Status { get; set; }
			
				public const string UserIdField = "UserId";

				public System.Int32 UserId { get; set; }
			
				public const string ParentCompanyIdField = "ParentCompanyId";

				public System.Int32 ParentCompanyId { get; set; }
			
				public const string CreateTimeField = "CreateTime";

				public System.DateTime CreateTime { get; set; }
			
				public const string ModifyTimeField = "ModifyTime";

				public System.DateTime ModifyTime { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_album
		/// </summary>
		public partial class AlbumInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string TitleField = "Title";

				public System.String Title { get; set; }
			
				public const string TypeIdField = "TypeId";

				public System.Int32 TypeId { get; set; }
			
				public const string AreaIdField = "AreaId";

				public System.Int32 AreaId { get; set; }
			
				public const string RatingField = "Rating";

				public System.Int32 Rating { get; set; }
			
				public const string ActorField = "Actor";

				public System.String Actor { get; set; }
			
				public const string DirectorField = "Director";

				public System.String Director { get; set; }
			
				public const string PubYearField = "PubYear";

				public System.Int32 PubYear { get; set; }
			
				public const string IsEndField = "IsEnd";

				public System.UInt64 IsEnd { get; set; }
			
				public const string PriorityField = "Priority";

				public System.Int32 Priority { get; set; }
			
				public const string HashField = "Hash";

				public System.String Hash { get; set; }
			
				public const string StatusField = "Status";

				public System.Int32 Status { get; set; }
			
				public const string BaiduIdField = "BaiduId";

				public System.Int32 BaiduId { get; set; }
			
				public const string CreateTimeField = "CreateTime";

				public System.DateTime CreateTime { get; set; }
			
				public const string ModifyTimeField = "ModifyTime";

				public System.DateTime ModifyTime { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_album_description
		/// </summary>
		public partial class AlbumDescriptionInfo
		{
			
				public const string AlbumIdField = "AlbumId";

				public System.Int32 AlbumId { get; set; }
			
				public const string DescriptionField = "Description";

				public System.String Description { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_channel_token
		/// </summary>
		public partial class ChannelTokenInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string ChannelIdField = "ChannelId";

				public System.Int32 ChannelId { get; set; }
			
				public const string TokenField = "Token";

				public System.String Token { get; set; }
			
				public const string VideoNameField = "VideoName";

				public System.String VideoName { get; set; }
			
				public const string RequestTimesField = "RequestTimes";

				public System.Int32 RequestTimes { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_channel_url
		/// </summary>
		public partial class ChannelUrlInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string ChannelIdField = "ChannelId";

				public System.Int32 ChannelId { get; set; }
			
				public const string TokenIdField = "TokenId";

				public System.Int32 TokenId { get; set; }
			
				public const string UrlField = "Url";

				public System.String Url { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_dictionary
		/// </summary>
		public partial class DictionaryInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string NameField = "Name";

				public System.String Name { get; set; }
			
				public const string ParentIdField = "ParentId";

				public System.Int32 ParentId { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_episode
		/// </summary>
		public partial class EpisodeInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string AlbumIdField = "AlbumId";

				public System.Int32 AlbumId { get; set; }
			
				public const string SiteIdField = "SiteId";

				public System.Int32 SiteId { get; set; }
			
				public const string EpisodeIndexField = "EpisodeIndex";

				public System.Int32 EpisodeIndex { get; set; }
			
				public const string NameField = "Name";

				public System.String Name { get; set; }
			
				public const string TokenField = "Token";

				public System.String Token { get; set; }
			
				public const string UrlField = "Url";

				public System.String Url { get; set; }
			
				public const string CreateTimeField = "CreateTime";

				public System.DateTime CreateTime { get; set; }
			
				public const string ModifyTimeField = "ModifyTime";

				public System.DateTime ModifyTime { get; set; }
			
				public const string AllowDownloadField = "AllowDownload";

				public bool AllowDownload { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_netbar
		/// </summary>
		public partial class NetbarInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string NameField = "Name";

				public System.String Name { get; set; }
			
				public const string PasswordField = "Password";

				public System.String Password { get; set; }
			
				public const string LevelField = "Level";

				public System.Int32 Level { get; set; }
			
				public const string ExpiredTimeField = "ExpiredTime";

				public System.DateTime ExpiredTime { get; set; }
			
				public const string LastAuthTimeField = "LastAuthTime";

				public System.DateTime LastAuthTime { get; set; }
			
				public const string LastRequestTimeField = "LastRequestTime";

				public System.DateTime LastRequestTime { get; set; }
			
				public const string LastAuthIPAddressField = "LastAuthIPAddress";

				public System.Int32 LastAuthIPAddress { get; set; }
			
				public const string LastRequestIPAddressField = "LastRequestIPAddress";

				public System.Int32 LastRequestIPAddress { get; set; }
			
				public const string SessionField = "Session";

				public System.String Session { get; set; }
			
				public const string StatusField = "Status";

				public System.Int32 Status { get; set; }
			
				public const string CreateTimeField = "CreateTime";

				public System.DateTime CreateTime { get; set; }
			
				public const string ModifyTimeField = "ModifyTime";

				public System.DateTime ModifyTime { get; set; }
			
				public const string ProvinceField = "Province";

				public System.String Province { get; set; }
			
				public const string CityField = "City";

				public System.String City { get; set; }
			
				public const string DistrictField = "District";

				public System.String District { get; set; }
			
				public const string AddressField = "Address";

				public System.String Address { get; set; }
			
				public const string ContactPersonField = "ContactPerson";

				public System.String ContactPerson { get; set; }
			
				public const string TelephoneField = "Telephone";

				public System.String Telephone { get; set; }
			
				public const string MobilePhoneField = "MobilePhone";

				public System.String MobilePhone { get; set; }
			
				public const string ComputerNumberField = "ComputerNumber";

				public System.Int32 ComputerNumber { get; set; }
			
				public const string UserIdField = "UserId";

				public System.Int32 UserId { get; set; }
			
				public const string AgentIDField = "AgentID";

				public System.Int32 AgentID { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_order
		/// </summary>
		public partial class OrderInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string ProductIdField = "ProductId";

				public System.Int32 ProductId { get; set; }
			
				public const string UnitPriceField = "UnitPrice";

				public System.Decimal UnitPrice { get; set; }
			
				public const string QuantityField = "Quantity";

				public System.Int32 Quantity { get; set; }
			
				public const string TotalPriceField = "TotalPrice";

				public System.Decimal TotalPrice { get; set; }
			
				public const string UseIdField = "UseId";

				public System.Int32 UseId { get; set; }
			
				public const string StatusField = "Status";

				public System.Int32 Status { get; set; }
			
				public const string CreateTimeField = "CreateTime";

				public System.DateTime CreateTime { get; set; }
			
				public const string ModifyTimeField = "ModifyTime";

				public System.DateTime ModifyTime { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_product
		/// </summary>
		public partial class ProductInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string NameField = "Name";

				public System.String Name { get; set; }
			
				public const string OriginalCostField = "OriginalCost";

				public System.Decimal OriginalCost { get; set; }
			
				public const string CostField = "Cost";

				public System.Decimal Cost { get; set; }
			
				public const string StockField = "Stock";

				public System.Int32 Stock { get; set; }
			
				public const string ShortBriefField = "ShortBrief";

				public System.String ShortBrief { get; set; }
			
				public const string StatusField = "Status";

				public System.Int32 Status { get; set; }
			
				public const string ProductTypeField = "ProductType";

				public System.Int32 ProductType { get; set; }
			
				public const string CreateTimeField = "CreateTime";

				public System.DateTime CreateTime { get; set; }
			
				public const string ModifyTimeField = "ModifyTime";

				public System.DateTime ModifyTime { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_role
		/// </summary>
		public partial class RoleInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string NameField = "Name";

				public System.String Name { get; set; }
			
				public const string DisplayNameField = "DisplayName";

				public System.String DisplayName { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_site
		/// </summary>
		public partial class SiteInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string NameField = "Name";

				public System.String Name { get; set; }
			
				public const string DisplayNameField = "DisplayName";

				public System.String DisplayName { get; set; }
			
				public const string UrlHostField = "UrlHost";

				public System.String UrlHost { get; set; }
			
				public const string AllowDownloadField = "AllowDownload";

				public System.UInt64 AllowDownload { get; set; }
			
				public const string PlayerIdField = "PlayerId";

				public System.String PlayerId { get; set; }
			
				public const string PositionTagField = "PositionTag";

				public System.String PositionTag { get; set; }
			
				public const string DownloaderField = "Downloader";

				public System.String Downloader { get; set; }
			
				public const string CreateTimeField = "CreateTime";

				public System.DateTime CreateTime { get; set; }
			
				public const string ModifyTimeField = "ModifyTime";

				public System.DateTime ModifyTime { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_site_channel
		/// </summary>
		public partial class SiteChannelInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string NameField = "Name";

				public System.String Name { get; set; }
			
				public const string SiteIdField = "SiteId";

				public System.Int32 SiteId { get; set; }
			
				public const string DomainField = "Domain";

				public System.String Domain { get; set; }
			
				public const string UrlPatternField = "UrlPattern";

				public System.String UrlPattern { get; set; }
			
				public const string AssemblyField = "Assembly";

				public System.String Assembly { get; set; }
			
				public const string EnableField = "Enable";

				public bool Enable { get; set; }
			
				public const string CreateTimeField = "CreateTime";

				public System.DateTime CreateTime { get; set; }
			
				public const string ModifyTimeField = "ModifyTime";

				public System.DateTime ModifyTime { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_site_token
		/// </summary>
		public partial class SiteTokenInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string SiteIdField = "SiteId";

				public System.Int32 SiteId { get; set; }
			
				public const string TokenField = "Token";

				public System.String Token { get; set; }
			
				public const string RequestTimesField = "RequestTimes";

				public System.Int32 RequestTimes { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_token_url
		/// </summary>
		public partial class TokenUrlInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string TokenIdField = "TokenId";

				public System.Int32 TokenId { get; set; }
			
				public const string UrlField = "Url";

				public System.String Url { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_user
		/// </summary>
		public partial class UserInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string UserNameField = "UserName";

				public System.String UserName { get; set; }
			
				public const string PasswordField = "Password";

				public System.String Password { get; set; }
			
				public const string EmailField = "Email";

				public System.String Email { get; set; }
			
				public const string StatusField = "Status";

				public System.Int32 Status { get; set; }
			
				public const string RegisterTimeField = "RegisterTime";

				public System.DateTime RegisterTime { get; set; }
			
				public const string ActiveTimeField = "ActiveTime";

				public System.DateTime ActiveTime { get; set; }
			
				public const string ActiveCodeField = "ActiveCode";

				public System.String ActiveCode { get; set; }
			
				public const string LoginTimeField = "LoginTime";

				public System.DateTime LoginTime { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_user_profile
		/// </summary>
		public partial class UserProfileInfo
		{
			
				public const string UserIdField = "UserId";

				public System.Int32 UserId { get; set; }
			
				public const string NickNameField = "NickName";

				public System.String NickName { get; set; }
			
				public const string SexField = "Sex";

				public bool Sex { get; set; }
			
				public const string BirthdayField = "Birthday";

				public System.DateTime Birthday { get; set; }
			
				public const string TelephoneField = "Telephone";

				public System.String Telephone { get; set; }
			
				public const string MobilePhoneField = "MobilePhone";

				public System.String MobilePhone { get; set; }
			
				public const string RealNameField = "RealName";

				public System.String RealName { get; set; }
			
				public const string ProvinceField = "Province";

				public System.String Province { get; set; }
			
				public const string CityField = "City";

				public System.String City { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_user_role
		/// </summary>
		public partial class UserRoleInfo
		{
			
				public const string UserIdField = "UserId";

				public System.Int32 UserId { get; set; }
			
				public const string RoleIdField = "RoleId";

				public System.Int32 RoleId { get; set; }
			
		}
		
		/// <summary>
		/// Map to Table t_video
		/// </summary>
		public partial class VideoInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string GuidField = "Guid";

				public System.String Guid { get; set; }
			
				public const string NameField = "Name";

				public System.String Name { get; set; }
			
				public const string PlayCountField = "PlayCount";

				public System.Int32 PlayCount { get; set; }
			
				public const string StatusField = "Status";

				public System.Int32 Status { get; set; }
			
				public const string CreateTimeField = "CreateTime";

				public System.DateTime CreateTime { get; set; }
			
				public const string ModifyTimeField = "ModifyTime";

				public System.DateTime ModifyTime { get; set; }
			
		}
	
		
		/// <summary>
		/// Map to Table v_channel_url_token
		/// </summary>
		public partial class ChannelUrlTokenInfo
		{
			
				public const string IdField = "Id";

				public System.Int32 Id { get; set; }
			
				public const string ChannelIdField = "ChannelId";

				public System.Int32 ChannelId { get; set; }
			
				public const string TokenIdField = "TokenId";

				public System.Int32 TokenId { get; set; }
			
				public const string UrlField = "Url";

				public System.String Url { get; set; }
			
				public const string TokenField = "Token";

				public System.String Token { get; set; }
			
				public const string VideoNameField = "VideoName";

				public System.String VideoName { get; set; }
			
				public const string RequestTimesField = "RequestTimes";

				public System.Int32 RequestTimes { get; set; }
			
		}
	
}